#include <stdio.h>

int main()
{
    int a = 8;
    int b = 9;
    int c = 10;
    a = a / 3;
    b = b + a;
    c = c + a;
    b = b / 3;
    a = a + b;
    c = c + b;
    c = c / 3;
    a = a + c;
    b = b + c;
    printf("%d %d %d\n",a,b,c);
    return 0;
}